sysroot/unlock: Ensure overlay label on /usr is `usr_t`
authorDaniel J Walsh <dwalsh@redhat.com>
Mon, 27 Mar 2017 21:31:06 +0000 (17:31 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 28 Mar 2017 13:50:28 +0000 (13:50 +0000)
commita88881039eef1e3db32f5cf0972099280cbe4227
tree1bc06f4b4ab14f9bdedf5e463fdafdb9ef41e884
parent79c3eb63be9d743128dfa0081e5be758ded4f79c
sysroot/unlock: Ensure overlay label on /usr is `usr_t`

Otherwise, we get `tmp_t` by default which can break a lot of things; we noticed
this with `atomic scan`.

Closes: https://github.com/ostreedev/ostree/issues/762
Closes: #763
Approved by: rhatdan
src/libostree/ostree-sysroot.c